package com.example.database.service;

import com.example.database.entity.AdmissionForm;
import com.example.database.entity.LeavingForm;
import jakarta.servlet.http.HttpSession;

import java.util.List;

public interface DeptInstructorService
{
    boolean login(Integer teacherId, String password, HttpSession session);

    // 查询一个院系的进校申请
    List<AdmissionForm> findAdmissionFormByDepartment(Integer departmentId);

    // 查询一个院系的离校申请
    List<LeavingForm> findLeavingFormByDepartment(Integer departmentId);

    // 院系管理员处理进校申请
    Boolean processAdmissionFormByDeptInstructor(Integer formId, boolean operation, String reason);

    // 院系管理员处理离校申请
    Boolean processLeavingFormByDeptInstructor(Integer formId, boolean operation, String reason);

}
